<div class="admin_left actions">
    <h3 style="font-size:20px;">Manage more</h3>
	<ul>

		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Sizes'), array('action' => 'index'),array('class' => 'consistentButton')); ?></li>
		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Items'), array('controller' => 'items', 'action' => 'index'),array('class' => 'consistentButton')); ?> </li>
		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('New Item'), array('controller' => 'items', 'action' => 'add'),array('class' => 'consistentButton')); ?> </li>
	</ul>
</div>

<?php if ($current_customer['group_id'] == 1): ?>
    <div class="admin_right sizes form">

    <div id=breadcrumbAdmin>
        <?php $this->Html->addCrumb('Sizes', '/Sizes/index'); ?>
        <?php $this->Html->addCrumb('Edit', '/Sizes/edit', array('style'=> ('text-decoration:underline; color:#EB1E70;'))); ?>
        <?php echo $this->Html->getCrumbs(' > ', array( 'text' => 'Items', 'url' => array('controller' => 'items', 'action' => 'index'), 'escape' => false)); ?>
    </div>

        <?php echo $this->Form->create('Size'); ?>
            <fieldset>
                <legend><?php echo __('Edit Size'); ?></legend>
                <?php
                    echo $this->Form->input('id');
                    echo $this->Form->input('name');
                    
                    echo $this->Form->input('size_unit');
                ?>
            </fieldset>
        <?php echo $this->Form->end(__('Submit')); ?>
    </div>

<?php else: ?>
<?php echo "You can't view this"; ?>
<?php endif; ?>
